package com.gaussian.property.module.biz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.songqi.common.mybatis.core.dataobject.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 标准打分记录明细。即每一个标准对应的扣分记录
 * </p>
 *
 * @author songqi(13776346982)
 * @since 2024-04-10
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("project_check_standard_score")
public class ProjectCheckStandardScore extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 标准打分记录id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String projectCheckStandardScoreId;

    /**
     * 项目绑定的稽核表idid
     */
    private String projectCheckTableId;

    /**
     * 项目id
     */
    private String projectId;

    /**
     * 稽核表id
     */
    private String checkTableId;

    /**
     * 稽核模块id
     */
    private String checkModuleId;


    /**
     * 稽核指标id
     */
    private String checkCriteriaId;

    /**
     * 项目稽核记录id
     */
    private String projectCheckRecordId;



    /**
     * 稽核标准id
     */
    private String checkStandardId;

    /**
     * 扣分。0表示不扣分。正数表示加分，负数表示扣分。总分值不能超过稽核标准的分值或模块的分值
     */
    private Double deduction;

    /**
     * 备注
     */
    private String remark;

    /**
     * 是否有图片。1-有。0-无
     */
    private Integer hasImageFlag;



}
